<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:icecore="http://www.icefaces.org/icefaces/core"
                xmlns:ice="http://www.icesoft.com/icefaces/component"
                xmlns:ace="http://www.icefaces.org/icefaces/components"
                template="./templates/templatePaginaPrincipal.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core">

    <ui:define name="content">        
        <h:form id="formCadConsEstrat">
            <icecore:singleSubmit/>
            <ice:dataTable  resizable="true"  cellpadding="0" headerClass="icelist-header"  rowClasses="icelist-row-even,icelist-row-odd" clientOnly="true" style="margin-top:-3px; width:100%;"
                            value="#{beanConsultarEstrategiasCalculadas.rowModel}" var="currentRow" >
                <ice:column>
                    <ice:rowSelector clickedRow="-1" enhancedMultiple="false" immediate="true"  id="outputTextFormCadGerUsuario2rselector" multiple="false" preStyleOnSelection="true"                                     />
                    <ice:outputText  value="#{currentRow['nomeAcao']}"/>
                    <f:facet name="header">
                        <ice:outputText value="Ação"/>
                    </f:facet>
                </ice:column>
                 <ice:column>
                    <ice:outputText  value="#{currentRow['nomeEstrategia']}"/>
                    <f:facet name="header">
                        <ice:outputText value="Estratégia"/>
                    </f:facet>
                </ice:column>
                 <ice:column>
                    <ice:outputText converter="converteDataHoraSegundo" value="#{currentRow['dataHora']}"/>
                    <f:facet name="header">
                        <ice:outputText  value="Data/Hora"/>
                    </f:facet>
                </ice:column>
                 <ice:column>
                    <ice:outputText converter="converteTresDig" value="#{currentRow['abertura']}"/>
                    <f:facet name="header">
                        <ice:outputText  value="Abertura"/>
                    </f:facet>
                </ice:column>
                 <ice:column>
                    <ice:outputText converter="converteTresDig" value="#{currentRow['minima']}"/>
                    <f:facet name="header">
                        <ice:outputText  value="Mínima"/>
                    </f:facet>
                </ice:column>
                <ice:column>
                    <ice:outputText converter="converteTresDig" value="#{currentRow['maxima']}"/>
                    <f:facet name="header">
                        <ice:outputText  value="Maxima"/>
                    </f:facet>
                </ice:column>
                <ice:column>
                    <ice:outputText converter="converteTresDig" value="#{currentRow['ultima']}"/>
                    <f:facet name="header">
                        <ice:outputText  value="Última"/>
                    </f:facet>
                </ice:column>
            </ice:dataTable>            
        </h:form>
    </ui:define>

</ui:composition>
